package org.JingDong.service;

import com.lizemin.spring.annotation.Service;
import org.JingDong.entity.Order;

/**
 * @author lzm
 * @date 2025/4/30 20:32
 * @description
 */
@Service
public class OrderService {

    public Order getOrderById(Long id) {
        if (id > 10) {
            return new Order(id, "毛绒娃娃");
        }else {
            return new Order(id, "圆珠笔");
        }
    }
}
